package com.tron.dobest.tests;

import java.util.ArrayList;

public class ControlText {
    public static void main(String[] args) {

        // command o   //find class

        // shift command o //find  file

        //option command o // find method mapping url

        // double shift  // find all


        System.out.println("netty start");


        //option command
        ArrayList<String> list = new ArrayList<>();

        AD ad = new AD();
        ad.print();
        ad.say();


    }

    public interface myInterfaceOne {
        void say();

        default void print() {
            System.out.println("default method run now ");
        }
    }


    public static class AD implements myInterfaceOne {

        //control i

        @Override
        public void say() {
            System.out.println("ad self method run");
        }


        // control o
        @Override
        public void print() {
            System.out.println("be overRite method");
        }

        // command  shift
        public void doSomeThing(int a) {
            //int a = 1 ;   option command p

            //int b;    option command m
            getInt();
        }

        private void getInt() {
            boolean a = false;
            System.out.println(a);
            // option command t   // if...else    try...catch
            if (true) {
                int b;
            } else {
            }
        }



    }
}
